//
//  OursViewController.m
//  LOL_JewelBox
//
//  Created by dllo on 15/5/5.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import "OursViewController.h"

@interface OursViewController ()

@property(nonatomic, retain)UIImageView *image;

@end

@implementation OursViewController

- (instancetype)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        self.title = @"关于我们";
    }
    return self;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
    self.image = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, VIEWWIDTH, VIEWHEIGHT)];
    self.image.image = [UIImage imageNamed:@"寒冰"];
    [self.view addSubview:self.image];
    [_image release];
    // 前言
    UILabel *preFace = [[UILabel alloc] initWithFrame:CGRectMake(10, 10, VIEWWIDTH - 20, 50)];
    preFace.textColor = [UIColor whiteColor];
    preFace.text = @"优秀的团队.专业的服务";
    preFace.font = [UIFont fontWithName:@"Helvetica-Bold" size:25];
    preFace.textAlignment = NSTextAlignmentCenter; // 居中
    preFace.numberOfLines = 0;
    preFace.lineBreakMode = NSLineBreakByCharWrapping;
    [self.image addSubview:preFace];
    [preFace release];
    
    // 团队介绍
    UILabel *content = [[UILabel alloc] initWithFrame:CGRectMake(10, 80, VIEWWIDTH - 20, 150)];
    content.textColor = [UIColor whiteColor];
    content.text = @"  本团队以'设计就是给人一种想要的生活方式'为中心理念进行软件的开发,以'服务广大人民群众'为开发要求,开发绿色的安全软件\n团队精英: '大腿(leader)', '宝', '壮壮'.";
    content.font = [UIFont fontWithName:@"Helvetica-Bold" size:18];
    content.numberOfLines = 0;
    content.lineBreakMode = NSLineBreakByCharWrapping;
    [self.view addSubview:content];
    [content release];
    
    
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
